import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';


import { ThemesComponent } from './themes.component';
import { ThemeAddComponent } from './theme-add/theme-add.component';
import { ThemeUpdateComponent }from './theme-update/theme-update.component';

const routes:Routes = [
  {
    path: "",
    component: ThemesComponent
  },
  {
    path: "add",
    component: ThemeAddComponent
  },
  {
    path: "update",
    component: ThemeUpdateComponent
  }
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class ThemesRoutingModule { }
